package com.jbp.model;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 礼物(Gift)实体
 * @author cc
 * @since 2020-06-20 08:53:26
 */
@Data
public class Gift implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //名称    
    @ApiModelProperty(value="礼物名称")
    private String name;

    //价值    
    @ApiModelProperty(value="礼物价值")
    private Integer coin;
    private Integer type;

    //图片    
    @ApiModelProperty(value="礼物图片")
    private String imgUrl;

    //动画
    @ApiModelProperty(value="礼物动画")
    private String cartoonUrl;

    //动画
    @ApiModelProperty(value="礼物数量")
    @TableField(exist = false)
    private int num;

    //创建时间
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private Date createTime;

    //修改时间    
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private Date updateTime;



}